export type PageRes<T> = {
  total: number
  content: T[]
}
export type BigDataPageRes<T> = {
  preCount: number
  nextCount: number
  content: T[]
}

export type PageRequest = {
  pageIndex: number
  pageSize: number
}

export type PageReq<T = unknown> = { pageRequest: PageRequest } & T
